package com.snail.VO;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author 【swg】.
 * @Date 2017/12/8 11:00
 * @DESC 向前端返回商品列表--商品
 * @CONTACT 317758022@qq.com
 */
@Data
public class ProductVO implements Serializable {
    private static final long serialVersionUID = 9175476324068655622L;
    @JsonProperty("id")
    private String productId;
    @JsonProperty("name")
    private String productName;
    @JsonProperty("price")
    private BigDecimal productPrice;
    @JsonProperty("description")
    private String productDescription;
    @JsonProperty("icon")
    private String productIcon;
}
